home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
TSMTokenize.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-01
|
15KB
|
423 lines
/*
* This file was generated by the SOM Compiler.
* FileName: TSMTokenize.h.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emith.dll: 2.33
*/
#ifndef SOM_TSMTokenize_h
#define SOM_TSMTokenize_h
#include <som.h>
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* Define the class name as an object type
*/
#ifndef TSMTokenize
#define TSMTokenize SOMObject
#endif
#include <TSMObject.h>
/*
* Start of user-defined types:
*/
#ifndef SOMClass
#define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMObject
#define SOMObject SOMObject
#endif /* SOMObject */
#ifndef HIWindow
#define HIWindow SOMObject
#endif /* HIWindow */
#ifndef HIEmbeddingPanel
#define HIEmbeddingPanel SOMObject
#endif /* HIEmbeddingPanel */
/*
* End of user-defined types.
*/
#define TSMTokenize_MajorVersion 1
#define TSMTokenize_MinorVersion 1
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define TSMTokenizeClassData d
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#ifdef OLDIBMSOMAPISUPPORT
#define TSMTokenize_classObj somNewClassReference(TSMTokenize)
#define _TSMTokenize TSMTokenize_classObj
#define TSMTokenizeCClassData TSMTokenizeClassData
#define TSMTokenizeNewClass(major,minor) somNewVersionedClassReference(TSMTokenize,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define TSMTokenizeMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/*
* Declare the class data structure
*/
SOMEXTERN struct TSMTokenizeClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMAny *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken GetNextToken;
somMToken _get_fTextRun;
somMToken _set_fTextRun;
somMToken _get_fRunStartIndex;
somMToken _set_fRunStartIndex;
somMToken _get_fRunEndIndex;
somMToken _set_fRunEndIndex;
somMToken _get_fTokenStartIndex;
somMToken _set_fTokenStartIndex;
somMToken _get_fTokenEndIndex;
somMToken _set_fTokenEndIndex;
somMToken _get_fControlFlags;
somMToken _set_fControlFlags;
} SOMDLINK TSMTokenizeClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(TSMTokenize_Class_Source) && !defined(SOM_Module_tsmtokenize_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list TSMTokenizeClassData
#endif
#endif
/*
* New macro for TSMTokenize
*/
#define TSMTokenizeNew() somNewObject(TSMTokenize)
/*
* Override method: InitializeService
*/
#define TSMTokenize_InitializeService(somSelf,ev) \
TSMObject_InitializeService(somSelf,ev)
/*
* Override method: TerminateService
*/
#define TSMTokenize_TerminateService(somSelf,ev) \
TSMObject_TerminateService(somSelf,ev)
/*
* Override method: ServiceChanged
*/
#define TSMTokenize_ServiceChanged(somSelf,ev) \
TSMObject_ServiceChanged(somSelf,ev)
/*
* Override method: somInit
*/
#define TSMTokenize_somInit(somSelf) \
SOMObject_somInit(somSelf)
/*
* New Method: _get_fTextRun
*/
typedef TextObject (SOMLINK *somTD_TSMTokenize__get_fTextRun)(TSMTokenize *somSelf, Environment *ev);
#define somMD_TSMTokenize__get_fTextRun "::TSMTokenize::fTextRun"
#define TSMTokenize__get_fTextRun(somSelf,ev) \
(SOM_Resolve(somSelf, TSMTokenize, _get_fTextRun) \
(somSelf,ev))
#ifndef SOMGD_get_fTextRun
#if defined _get_fTextRun || defined __get_fTextRun
#undef _get_fTextRun
#undef __get_fTextRun
#define SOMGD_get_fTextRun 1
#else
#define __get_fTextRun TSMTokenize__get_fTextRun
#endif /* __get_fTextRun */
#endif /* SOMGD_get_fTextRun */
/*
* New Method: _set_fTextRun
*/
typedef void (SOMLINK *somTD_TSMTokenize__set_fTextRun)(TSMTokenize *somSelf, Environment *ev,
TextObject fTextRun);
#define somMD_TSMTokenize__set_fTextRun "::TSMTokenize::fTextRun"
#define TSMTokenize__set_fTextRun(somSelf,ev,fTextRun) \
(SOM_Resolve(somSelf, TSMTokenize, _set_fTextRun) \
(somSelf,ev,fTextRun))
#ifndef SOMGD_set_fTextRun
#if defined _set_fTextRun || defined __set_fTextRun
#undef _set_fTextRun
#undef __set_fTextRun
#define SOMGD_set_fTextRun 1
#else
#define __set_fTextRun TSMTokenize__set_fTextRun
#endif /* __set_fTextRun */
#endif /* SOMGD_set_fTextRun */
/*
* New Method: _get_fRunStartIndex
*/
typedef TextObjectIndex (SOMLINK *somTD_TSMTokenize__get_fRunStartIndex)(TSMTokenize *somSelf, Environment *ev);
#define somMD_TSMTokenize__get_fRunStartIndex "::TSMTokenize::fRunStartIndex"
#define TSMTokenize__get_fRunStartIndex(somSelf,ev) \
(SOM_Resolve(somSelf, TSMTokenize, _get_fRunStartIndex) \
(somSelf,ev))
#ifndef SOMGD_get_fRunStartIndex
#if defined _get_fRunStartIndex || defined __get_fRunStartIndex
#undef _get_fRunStartIndex
#undef __get_fRunStartIndex
#define SOMGD_get_fRunStartIndex 1
#else
#define __get_fRunStartIndex TSMTokenize__get_fRunStartIndex
#endif /* __get_fRunStartIndex */
#endif /* SOMGD_get_fRunStartIndex */
/*
* New Method: _set_fRunStartIndex
*/
typedef void (SOMLINK *somTD_TSMTokenize__set_fRunStartIndex)(TSMTokenize *somSelf, Environment *ev,
TextObjectIndex fRunStartIndex);
#define somMD_TSMTokenize__set_fRunStartIndex "::TSMTokenize::fRunStartIndex"
#define TSMTokenize__set_fRunStartIndex(somSelf,ev,fRunStartIndex) \
(SOM_Resolve(somSelf, TSMTokenize, _set_fRunStartIndex) \
(somSelf,ev,fRunStartIndex))
#ifndef SOMGD_set_fRunStartIndex
#if defined _set_fRunStartIndex || defined __set_fRunStartIndex
#undef _set_fRunStartIndex
#undef __set_fRunStartIndex
#define SOMGD_set_fRunStartIndex 1
#else
#define __set_fRunStartIndex TSMTokenize__set_fRunStartIndex
#endif /* __set_fRunStartIndex */
#endif /* SOMGD_set_fRunStartIndex */
/*
* New Method: _get_fRunEndIndex
*/
typedef TextObjectIndex (SOMLINK *somTD_TSMTokenize__get_fRunEndIndex)(TSMTokenize *somSelf, Environment *ev);
#define somMD_TSMTokenize__get_fRunEndIndex "::TSMTokenize::fRunEndIndex"
#define TSMTokenize__get_fRunEndIndex(somSelf,ev) \
(SOM_Resolve(somSelf, TSMTokenize, _get_fRunEndIndex) \
(somSelf,ev))
#ifndef SOMGD_get_fRunEndIndex
#if defined _get_fRunEndIndex || defined __get_fRunEndIndex
#undef _get_fRunEndIndex
#undef __get_fRunEndIndex
#define SOMGD_get_fRunEndIndex 1
#else
#define __get_fRunEndIndex TSMTokenize__get_fRunEndIndex
#endif /* __get_fRunEndIndex */
#endif /* SOMGD_get_fRunEndIndex */
/*
* New Method: _set_fRunEndIndex
*/
typedef void (SOMLINK *somTD_TSMTokenize__set_fRunEndIndex)(TSMTokenize *somSelf, Environment *ev,
TextObjectIndex fRunEndIndex);
#define somMD_TSMTokenize__set_fRunEndIndex "::TSMTokenize::fRunEndIndex"
#define TSMTokenize__set_fRunEndIndex(somSelf,ev,fRunEndIndex) \
(SOM_Resolve(somSelf, TSMTokenize, _set_fRunEndIndex) \
(somSelf,ev,fRunEndIndex))
#ifndef SOMGD_set_fRunEndIndex
#if defined _set_fRunEndIndex || defined __set_fRunEndIndex
#undef _set_fRunEndIndex
#undef __set_fRunEndIndex
#define SOMGD_set_fRunEndIndex 1
#else
#define __set_fRunEndIndex TSMTokenize__set_fRunEndIndex
#endif /* __set_fRunEndIndex */
#endif /* SOMGD_set_fRunEndIndex */
/*
* New Method: _get_fTokenStartIndex
*/
typedef TextObjectIndex (SOMLINK *somTD_TSMTokenize__get_fTokenStartIndex)(TSMTokenize *somSelf, Environment *ev);
#define somMD_TSMTokenize__get_fTokenStartIndex "::TSMTokenize::fTokenStartIndex"
#define TSMTokenize__get_fTokenStartIndex(somSelf,ev) \
(SOM_Resolve(somSelf, TSMTokenize, _get_fTokenStartIndex) \
(somSelf,ev))
#ifndef SOMGD_get_fTokenStartIndex
#if defined _get_fTokenStartIndex || defined __get_fTokenStartIndex
#undef _get_fTokenStartIndex
#undef __get_fTokenStartIndex
#define SOMGD_get_fTokenStartIndex 1
#else
#define __get_fTokenStartIndex TSMTokenize__get_fTokenStartIndex
#endif /* __get_fTokenStartIndex */
#endif /* SOMGD_get_fTokenStartIndex */
/*
* New Method: _set_fTokenStartIndex
*/
typedef void (SOMLINK *somTD_TSMTokenize__set_fTokenStartIndex)(TSMTokenize *somSelf, Environment *ev,
TextObjectIndex fTokenStartIndex);
#define somMD_TSMTokenize__set_fTokenStartIndex "::TSMTokenize::fTokenStartIndex"
#define TSMTokenize__set_fTokenStartIndex(somSelf,ev,fTokenStartIndex) \
(SOM_Resolve(somSelf, TSMTokenize, _set_fTokenStartIndex) \
(somSelf,ev,fTokenStartIndex))
#ifndef SOMGD_set_fTokenStartIndex
#if defined _set_fTokenStartIndex || defined __set_fTokenStartIndex
#undef _set_fTokenStartIndex
#undef __set_fTokenStartIndex
#define SOMGD_set_fTokenStartIndex 1
#else
#define __set_fTokenStartIndex TSMTokenize__set_fTokenStartIndex
#endif /* __set_fTokenStartIndex */
#endif /* SOMGD_set_fTokenStartIndex */
/*
* New Method: _get_fTokenEndIndex
*/
typedef TextObjectIndex (SOMLINK *somTD_TSMTokenize__get_fTokenEndIndex)(TSMTokenize *somSelf, Environment *ev);
#define somMD_TSMTokenize__get_fTokenEndIndex "::TSMTokenize::fTokenEndIndex"
#define TSMTokenize__get_fTokenEndIndex(somSelf,ev) \
(SOM_Resolve(somSelf, TSMTokenize, _get_fTokenEndIndex) \
(somSelf,ev))
#ifndef SOMGD_get_fTokenEndIndex
#if defined _get_fTokenEndIndex || defined __get_fTokenEndIndex
#undef _get_fTokenEndIndex
#undef __get_fTokenEndIndex
#define SOMGD_get_fTokenEndIndex 1
#else
#define __get_fTokenEndIndex TSMTokenize__get_fTokenEndIndex
#endif /* __get_fTokenEndIndex */
#endif /* SOMGD_get_fTokenEndIndex */
/*
* New Method: _set_fTokenEndIndex
*/
typedef void (SOMLINK *somTD_TSMTokenize__set_fTokenEndIndex)(TSMTokenize *somSelf, Environment *ev,
TextObjectIndex fTokenEndIndex);
#define somMD_TSMTokenize__set_fTokenEndIndex "::TSMTokenize::fTokenEndIndex"
#define TSMTokenize__set_fTokenEndIndex(somSelf,ev,fTokenEndIndex) \
(SOM_Resolve(somSelf, TSMTokenize, _set_fTokenEndIndex) \
(somSelf,ev,fTokenEndIndex))
#ifndef SOMGD_set_fTokenEndIndex
#if defined _set_fTokenEndIndex || defined __set_fTokenEndIndex
#undef _set_fTokenEndIndex
#undef __set_fTokenEndIndex
#define SOMGD_set_fTokenEndIndex 1
#else
#define __set_fTokenEndIndex TSMTokenize__set_fTokenEndIndex
#endif /* __set_fTokenEndIndex */
#endif /* SOMGD_set_fTokenEndIndex */
/*
* New Method: _get_fControlFlags
*/
typedef UInt32 (SOMLINK *somTD_TSMTokenize__get_fControlFlags)(TSMTokenize *somSelf, Environment *ev);
#define somMD_TSMTokenize__get_fControlFlags "::TSMTokenize::fControlFlags"
#define TSMTokenize__get_fControlFlags(somSelf,ev) \
(SOM_Resolve(somSelf, TSMTokenize, _get_fControlFlags) \
(somSelf,ev))
#ifndef SOMGD_get_fControlFlags
#if defined _get_fControlFlags || defined __get_fControlFlags
#undef _get_fControlFlags
#undef __get_fControlFlags
#define SOMGD_get_fControlFlags 1
#else
#define __get_fControlFlags TSMTokenize__get_fControlFlags
#endif /* __get_fControlFlags */
#endif /* SOMGD_get_fControlFlags */
/*
* New Method: _set_fControlFlags
*/
typedef void (SOMLINK *somTD_TSMTokenize__set_fControlFlags)(TSMTokenize *somSelf, Environment *ev,
UInt32 fControlFlags);
#define somMD_TSMTokenize__set_fControlFlags "::TSMTokenize::fControlFlags"
#define TSMTokenize__set_fControlFlags(somSelf,ev,fControlFlags) \
(SOM_Resolve(somSelf, TSMTokenize, _set_fControlFlags) \
(somSelf,ev,fControlFlags))
#ifndef SOMGD_set_fControlFlags
#if defined _set_fControlFlags || defined __set_fControlFlags
#undef _set_fControlFlags
#undef __set_fControlFlags
#define SOMGD_set_fControlFlags 1
#else
#define __set_fControlFlags TSMTokenize__set_fControlFlags
#endif /* __set_fControlFlags */
#endif /* SOMGD_set_fControlFlags */
/*
* New Method: GetNextToken
*/
typedef OSStatus (SOMLINK *somTD_TSMTokenize_GetNextToken)(TSMTokenize *somSelf, Environment *ev,
TextObject token);
#define somMD_TSMTokenize_GetNextToken "::TSMTokenize::GetNextToken"
#define TSMTokenize_GetNextToken(somSelf,ev,token) \
(SOM_Resolve(somSelf, TSMTokenize, GetNextToken) \
(somSelf,ev,token))
#ifndef SOMGD_GetNextToken
#if defined _GetNextToken || defined __GetNextToken
#undef _GetNextToken
#undef __GetNextToken
#define SOMGD_GetNextToken 1
#else
#define _GetNextToken TSMTokenize_GetNextToken
#endif /* _GetNextToken */
#endif /* SOMGD_GetNextToken */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define TSMTokenize__get_fTSMContext TSMObject__get_fTSMContext
#define TSMTokenize__set_fTSMContext TSMObject__set_fTSMContext
#define TSMTokenize__get_fStatus TSMObject__get_fStatus
#define TSMTokenize__set_fStatus TSMObject__set_fStatus
#define TSMTokenize__get_fServiceContext TSMObject__get_fServiceContext
#define TSMTokenize__set_fServiceContext TSMObject__set_fServiceContext
#define TSMTokenize_EditInlineHole TSMObject_EditInlineHole
#define TSMTokenize_FeatureChanged TSMObject_FeatureChanged
#define TSMTokenize_ActivateService TSMObject_ActivateService
#define TSMTokenize_DeactivateService TSMObject_DeactivateService
#define TSMTokenize_ServiceMouseEvent TSMObject_ServiceMouseEvent
#define TSMTokenize_ServiceKeyEvent TSMObject_ServiceKeyEvent
#define TSMTokenize_ServiceWindowEvent TSMObject_ServiceWindowEvent
#define TSMTokenize_HideServiceWindows TSMObject_HideServiceWindows
#define TSMTokenize_DoSetCursor TSMObject_DoSetCursor
#define TSMTokenize_ReleaseInlineHoles TSMObject_ReleaseInlineHoles
#define TSMTokenize_TerminateInput TSMObject_TerminateInput
#define TSMTokenize_somUninit SOMObject_somUninit
#define TSMTokenize_somDuplicateReference SOMObject_somDuplicateReference
#define TSMTokenize_somCompareReference SOMObject_somCompareReference
#define TSMTokenize_somRelease SOMObject_somRelease
#define TSMTokenize_somFree SOMObject_somFree
#define TSMTokenize_somCanDelete SOMObject_somCanDelete
#define TSMTokenize_somGetClass SOMObject_somGetClass
#define TSMTokenize_somGetClassName SOMObject_somGetClassName
#define TSMTokenize_somGetSize SOMObject_somGetSize
#define TSMTokenize_somIsA SOMObject_somIsA
#define TSMTokenize_somRespondsTo SOMObject_somRespondsTo
#define TSMTokenize_somIsInstanceOf SOMObject_somIsInstanceOf
#define TSMTokenize_somDispatch SOMObject_somDispatch
#define TSMTokenize_somClassDispatch SOMObject_somClassDispatch
#define TSMTokenize_somCastObj SOMObject_somCastObj
#define TSMTokenize_somResetObj SOMObject_somResetObj
#define TSMTokenize_somPrintSelf SOMObject_somPrintSelf
#define TSMTokenize_somDumpSelf SOMObject_somDumpSelf
#define TSMTokenize_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_TSMTokenize_h */